Start/stop individual (Accumulo, Kafka, HBase, Hadoop+Yarn) services separat…#37
Start/stop individual (Accumulo, Kafka, HBase, Hadoop+Yarn) services separat…#37mdzimmerman wants to merge 2 commits intoccri:masterfrom
Conversation
…ely. Currently doesn't handle dependencies between services (e.g. doesn't check if you try to stop Hadoop before Accumulo).
|
@mdzimmerman i just saw this i'll try to look...prob next time best to send me an email for some reason i never check this |
|
so the idea is to run |
|
yeah, this was scratching my own itch-- I was load testing Kafka and wanted to shut off the services I didn't need (Accumulo+Hadoop) without having to cut and paste out the relevant lines from the cloud-local.sh script. |
Conflicts: bin/cloud-local.sh
| elif [[ $2 == 'stop' ]]; then | ||
| stop_hbase | ||
| fi | ||
| elif [[ $1 == 'stop' ]]; then |
There was a problem hiding this comment.
To @jahhulbert-ccri 's suggestion, can we add a (admittedly redundant) "stop all" and "start all"?
There was a problem hiding this comment.
As is you could type "all" if you want, wouldn't do anything different but it'd still work as expected. Aside from that, this param eval impl may need reworked if merged with the geoserver stuff.
| # 0 = disabled | ||
| acc_enable=1 | ||
| hbase_enable=0 | ||
| kafka_enable=1 |
There was a problem hiding this comment.
I have no perspective on this but it does seem odd that kafka is enabled by default.
…ely.
Currently doesn't handle dependencies between services (e.g. doesn't
check if you try to stop Hadoop before Accumulo).